package cn.supermaster.management.web.controller.monitor;

import cn.supermaster.management.common.controller.BaseController;
import cn.supermaster.management.web.service.monitor.IMonitorLoginInformationService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 系统访问记录
 */
@Controller
@RequestMapping("/monitor/logininfor")
public class MonitorLoginInformationController extends BaseController {

    @Autowired
    private IMonitorLoginInformationService monitorLoginInformationService;

    @RequiresPermissions("monitor:logininfor:view")
    @GetMapping
    public String skipLoginInformationView() {
        return monitorLoginInformationService.skipLoginInformationView();
    }
}
